# -*- coding: utf-8 -*-
class reviewPage():
    def __init__(self,driver):
        self.driver=driver
    #     点击新单复核
    def btnNewProReview(self):
        return self.driver.find_element_by_xpath('//*[@id="huadong1"]/dl[5]/dt/b/a')
    def inpGrpPropNo(self):
        return self.driver.find_element_by_xpath('//*[@id="GrpPropNo"]')
    # 查询
    def btnrefer(self):
        return self.driver.find_element_by_xpath('//*[@id="fm"]/input[1]')
    # 公共池选择
    def btnGrpApproveListGridSel(self):
        return self.driver.find_element_by_xpath('//*[@id="GrpApproveListGridSel0"]')
    # 申请
    def btnapply(self):
        return self.driver.find_element_by_xpath('//*[@id="fm"]/input[2]')
    # 个人池选择
    def btnSelfGrpApproveListGridSel(self):
        return self.driver.find_element_by_xpath('//*[@id="SelfGrpApproveListGridSel0"]')
    # 进入
    def btnGoInside(self):
        return self.driver.find_element_by_xpath('//*[@id="fm"]/input[3]')
    # 复核完毕
    def btnApprove(self):
        return self.driver.find_element_by_xpath('//*[@id="Approve"]')


